package cool.webstudy.admin.service;

import cool.webstudy.admin.model.dto.flag.CommitFlagDTO;

/**
 * @author 莫振双
 * @date 2025/3/15 0:37
 * @description:
 */
public interface DynamicFlagService {
    /**
     * @param competitionUnCode
     * @description: 批量刷新flag值
     */
    void batchRefreshFlag(String competitionUnCode);
    /**
     * @param competitionUnCode 赛事业务主键
     * @param containerId       容器id
     * @description: 刷新指定容器的flag值
     */
    void refreshFlag(String competitionUnCode,String containerId);
    /**
     * @param competitionUnCode 赛事业务主键
     * @description: 清空flag值
     */
    void deleteFlag(String competitionUnCode);
    /**
     * @param dto 提交flag接口请求参数
     * @description: 提交Flag
     */
    void commitFlag(CommitFlagDTO dto);
}
